<?php
/**
 * CreateTime: 2023/11/24 10:45
 * User:LinQ
 */

namespace App\Models\CompanyDepartment;

use App\Models\BasicModel;

class DepartmentUserModel extends BasicModel
{
    protected $table = 'department_user';

    protected $primaryKey = 'department_user_id ';

    protected $fillable = [
        'department_user_id',
        'department_id',
        'user_id',
        'created_at',
        'updated_at',

    ];

    protected $casts = [
        'department_user_id' => 'integer',
        'department_id' => 'integer',
        'user_id' => 'integer',
        'created_at' => 'string',
        'updated_at' => 'string',
    ];

    protected $hidden = [
        'created_at',
        'updated_at',
    ];

}